package com.cjf.aop.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 自动try-catch的异常注解
 * created by cjf
 * on: 2020/3/19
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface CaptureThrowable {
    /**
     * @return flag 捕获异常的标志
     */
    String value() default "";
}
